<?php
    get_header();
    if(have_posts()): the_post();
    $image = wp_get_attachment_image_src(get_post_thumbnail_id(get_the_ID()), 'full');  
?>
    <h2><?php the_title(); ?></h2>
    <div class="blck-type-1">          
    <img src="<?php echo $image[0]; ?>" alt=""/>      
    <?php the_content(); ?>
    </div>
<?php
    endif;
    get_footer();  
?>
